package com.aoxin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.aoxin.model.SlfActivity;

@Mapper
public interface SlfActivityMapper {
	/**
	 * 活动批量删除
	 * 
	 * @param activityId
	 * @return
	 */
	Integer deleteSlfactivity(List<Integer> activityId);

	/**
	 * 活动添加
	 * 
	 * @param slfActivity
	 * @return
	 */
	Integer insertSlfactivity(SlfActivity slfActivity);

	/**
	 * 活动查询条件
	 * 
	 * @param slfActivity
	 * @return
	 */
	List<SlfActivity> getSlfactivity(SlfActivity slfActivity);

	/**
	 * 活动修改
	 * 
	 * @param slfActivity
	 * @return
	 */
	Integer updateSlfactivity(SlfActivity slfActivity);

	/**
	 * 活动全查询
	 * @return
	 */
	List<SlfActivity> getBySlfactivity(SlfActivity slfActivity);
}